
public class Motion implements Runnable{
	FallBlock fall;
	Map panel;
	private boolean runflg = true;

	Motion(Map m){
		panel = m;
	}

	public void run(){
		while(runflg){
			panel.repaint();
			if(panel.isExist_7 == true){
				fall = new FallBlock(panel);
				new Thread(fall).start();
				panel.isExist_7 = false;
			}
			panel.stop(100);
		}
	}
	public void fin(){
		runflg = false;
	}
}
